<?php
// +---------------------------------------------------------------------+
// | OneBase    | [ WE CAN DO IT JUST THINK ]                            |
// +---------------------------------------------------------------------+
// | Licensed   | http://www.apache.org/licenses/LICENSE-2.0 )           |
// +---------------------------------------------------------------------+
// | Author     | Bigotry <3162875@qq.com>                               |
// +---------------------------------------------------------------------+
// | Repository | https://gitee.com/Bigotry/OneBase                      |
// +---------------------------------------------------------------------+

namespace app\api\controller;



/**
 * C2c控制器
 */
class C2c extends ApiBase
{



    /**
     *OTC交易列表接口
     */
    public function oct_trade_list(){
        return $this->apiReturn($this->logicC2c->oct_trade_list($this->param));
    }

    /**
     *OTC交易撤回接口
     */
    public function trade_withdraw(){
        return $this->apiReturn($this->logicC2c->trade_withdraw($this->param));
    }

    /**
     *一键买币接口
     */
    public function onekey_otc(){
        return $this->apiReturn($this->logicC2c->onekey_otc($this->param));
    }

    /**
     *OTC交易列表接口
     */
    public function my_trade_list(){
        return $this->apiReturn($this->logicC2c->my_trade_list($this->param));
    }



    /**
     * OTC交易下单接口
     */
    public function add_otc_order(){
        return $this->apiReturn($this->logicC2c->add_otc_order($this->param));
    }

    /**
     * otc订单详情
     */
    public function otc_order_info(){

        return $this->apiReturn($this->logicC2c->otc_order_info($this->param));

    }
    /**
     * otc支付订单详情
     */
    public function otc_order_info_pay(){

        return $this->apiReturn($this->logicC2c->otc_order_info_pay($this->param));

    }


    /**
     * 修改订单状态
     */
    public function update_otc_state(){

        return $this->apiReturn($this->logicC2c->update_otc_state($this->param));

    }

    /**
     * 订单申诉
     */
    public function order_feedback(){

        return $this->apiReturn($this->logicC2c->order_feedback($this->param));

    }


    /**
     *线下交易,钱包交易，提现列表
*/
    public function order_list(){

        return $this->apiReturn($this->logicC2c->order_list($this->param));

    }

    /**
     *线下交易,钱包交易，提现列表
     */
    public function order_detail(){

        return $this->apiReturn($this->logicC2c->order_detail($this->param));

    }
    /**
     *OTC交易订单列表
     */
    public function otc_order_list(){

        return $this->apiReturn($this->logicC2c->otc_order_list($this->param));

    }
    /**
     *OTC交易订单列表
     */
    public function shop_order_list(){

        return $this->apiReturn($this->logicC2c->shop_order_list($this->param));

    }


}
